#!/bin/sh

if [ -f /usr/bin/tsocks ];
then
    if [ -f /etc/twitim/no-tsocks ];
    then
        echo "Warning: tsocks is not used."
        exec twitim
    else
        exec tsocks twitim 2> /dev/null
    fi
else
    echo "Warning: tsocks is not found."
    exec twitim
fi
